package com.yunst.execute.impl;

import java.awt.*;

/**
 * @author yunst
 * @date 2022/12/29
 */
public class RobotFactory extends Robot {
    private static RobotFactory INSTANCE;

    static {
        try {
            INSTANCE = new RobotFactory();
        } catch (AWTException e) {
            throw new RuntimeException(e);
        }
    }

    private RobotFactory() throws AWTException {
    }

    public static Robot getInstance() {
        return INSTANCE;
    }
}
